//
// Functions: @{
.BoxSizing(@mode) {
	box-sizing: @mode;
	-moz-box-sizing: @mode;
	-webkit-box-sizing: @mode;
}
.ButtonFormat() {
	.RoundedBorders(10px);
	.TransparentBackground("DarkSlateGray");
	border-bottom: 1px solid darken(@color_name_DarkSlateGray, 50%);
	border-left: none;
	border-right: 1px solid darken(@color_name_DarkSlateGray, 50%);
	border-top: none;
	color: @color_name_White;
	cursor: pointer;
	font-weight: bold;
	padding: 2px 10px;
}
.Color(@suffix) {
	@color_name: ~"color_name_@{suffix}";
	@color_value: ~"@{color_name_@{suffix}}";
}
.FullSize() {
	height: 100%;
	margin: 0px;
	padding: 0px;
	width: 100%;
}
.RoundedBorders(@radius) {
	border-radius: @radius;
	-webkit-border-radius: @radius;
	-khtml-border-radius: @radius;
	-moz-border-radius: @radius;
}
.RoundedSideBorder(@radius, @side) when(@side = "top-left") {
	border-top-left-radius: @radius;
	-webkit-border-top-left-radius: @radius;
	-khtml-border-top-left-radius: @radius;
	-moz-border-top-left-radius: @radius;
}
.RoundedSideBorder(@radius, @side) when(@side = "top-right") {
	border-top-right-radius: @radius;
	-webkit-border-top-right-radius: @radius;
	-khtml-border-top-right-radius: @radius;
	-moz-border-top-right-radius: @radius;
}
.RoundedSideBorder(@radius, @side) when(@side = "bottom-right") {
	border-bottom-right-radius: @radius;
	-webkit-border-bottom-right-radius: @radius;
	-khtml-border-bottom-right-radius: @radius;
	-moz-border-bottom-right-radius: @radius;
}
.RoundedSideBorder(@radius, @side) when(@side = "bottom-left") {
	border-bottom-left-radius: @radius;
	-webkit-border-bottom-left-radius: @radius;
	-khtml-border-bottom-left-radius: @radius;
	-moz-border-bottom-left-radius: @radius;
}
.RoundedSideBorder(@radius, @side) when(@side = "left") {
	.RoundedSideBorder(@radius, "top-left");
	.RoundedSideBorder(@radius, "bottom-left");
}
.RoundedSideBorder(@radius, @side) when(@side = "right") {
	.RoundedSideBorder(@radius, "top-right");
	.RoundedSideBorder(@radius, "bottom-right");
}
.RoundedSideBorder(@radius, @side) when(@side = "top") {
	.RoundedSideBorder(@radius, "top-left");
	.RoundedSideBorder(@radius, "top-right");
}
.RoundedSideBorder(@radius, @side) when(@side = "bottom") {
	.RoundedSideBorder(@radius, "bottom-left");
	.RoundedSideBorder(@radius, "bottom-right");
}
.SavePadding() {
	.BoxSizing(border-box);
}
.ShadowHorizontalBorder() {
	background-image: url("images/ShadowHorizontalBorder.png");
	background-repeat: repeat-x;
}
.SideToolFormat() {
	border-top: @global_simple_border;
	margin: 0 auto;
	padding: @sidetools_padding;
	width: 100%;

	div.Title {
		.TitleFormat();
		margin: 0 auto;
		text-align: center;
		width: 100%;
	}
	div.Content { 
		width: 100%;
	}
}
.TitleFormat(){
	font-family: @global_font_family_title;
	font-size: @global_font_size_title;
	font-weight: bold;
	margin-top: 3px;
	text-align: center;
	text-decoration: underline;
	text-transform: capitalize;	
}
.TransparentBackground(@name) {
	background-color: transparent;
	background: ~"url(images/backgrounds/tb_@{name}.png)";
}
// @}
